package com.xmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xmall.product.define.request.spu.SkuImageRequest;
import com.xmall.product.entity.SkuImage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xmall
 * @since 2023-11-02
 */
public interface ISkuImageService extends IService<SkuImage> {

    /**
     * 保存
     */
    void save(Long spuId, Long skuId, List<SkuImageRequest> skuImageList);

    /**
     * 获取默认图片
     */
    String getDefaultImage(List<SkuImageRequest> images);
}
